error

fun error(message: String)
fun error(message: String, annotationProperties: AnnotationProperties)

Log an error message.

fun error(exception: Throwable)
fun error(exception: Throwable, annotationProperties: AnnotationProperties)

Log exception as an error message.